let n = 123;
// console.log(123.constructor == Object); //语法错误

// 不能“跨层级”判断，因为123是通过Number构造函数创建出来的
console.log("n.constructor == Object：",n.constructor == Object); // false
console.log("n.constructor == Number：",n.constructor == Number); // true

console.log("'123'.constructor == String：","123".constructor == String); // true
console.log("true.constructor == Boolean：",true.constructor == Boolean); // true
console.log("Symbol('123').constructor == Symbol：",Symbol('123').constructor == Symbol); // true
console.log("123n.constructor == BigInt：",123n.constructor == BigInt); // true

let fun = function(){};
console.log("fun.constructor == Function：",fun.constructor == Function); // true
console.log("new Array().constructor == Function：",new Array().constructor == Array); // true
console.log("new Object().constructor == Function：",new Object().constructor == Object); // true
